package global

type Response struct {
	Code int         `json:"code"`
	Msg  string      `json:"msg"`
	Data interface{} `json:"data"`
}

func ResponseParam(code int, date interface{}) interface{} {
	return Response{
		Code: code,
		Msg:  "code",
		Data: date,
	}
}
